﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="DotBeer.UI.WPFClient.UpdateOptionsControl"
	x:Name="UserControl"
	d:DesignWidth="328" 
    d:DesignHeight="235"
    xmlns:Presentation="clr-namespace:DotBeer.UI.WPFClient">
	<Grid x:Name="LayoutRoot">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="40"/>
			<RowDefinition Height="40"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		<CheckBox x:Name="checkBox" HorizontalAlignment="{DynamicResource EditControlHorizontalAlignment}" Margin="{DynamicResource EditControlMargin}" Style="{DynamicResource CheckBoxStyle}" VerticalAlignment="{DynamicResource EditControlVerticalAlignment}" Content="Check updates at startup" />
		<Presentation:UpdateControl HorizontalAlignment="Left" 
                                    VerticalAlignment="Top" 
                                    Grid.Row="2" 
                                    Margin="5,5,0,0" 
                                    Grid.RowSpan="2" 
                                    x:Name="UpdateControl"
                                    ShowConnectingMessage="True"/>
		<Button VerticalAlignment="{DynamicResource EditControlVerticalAlignment}" Content="Check updates" Grid.Row="1" Margin="{DynamicResource EditControlMargin}" Width="100" Style="{DynamicResource ButtonLightStyle}" Height="30" HorizontalAlignment="Left" Click="Button_Click"/>
	</Grid>
</UserControl>